package com.dream21th.flow.common.enums;

import lombok.Getter;
import lombok.Setter;

public enum RtnEnum {

	/** 系统错误 */
	OK("0000", "操作成功"),
	PARAM_VALIDATE_EEROR("500","参数校验异常"),
	CALL_BANK_OF_SH_ERROR("500","调用上海银行接口出错"),
	YAN_ZHENG_CODE_EMPTY("500","验证码不能为空"),
	INTERNAL_ERROR("500","系统内部错误"),
	NOT_FOUND_ERROR("500","未找到相关url配置"),
	ERRROR("500", "系统错误"),
	NOT_AUTH("401","未认证"),
	AUTH_DENY("403","权限不足"),
	LOGIN_ERROR("500","用户名或者密码错误"),
	CAPTCHA_ERROR("500","请输入正确的验证码"),
	SIGN_ERROR("500","签名认证错误"),
	PASSWORD_PARSE_ERROR("500","密码解析失败"),
	WEB_ADMIN_ERROR("500","调用户服务出错"),
	FLOW_DEPLOY_ERROR("1001","流程部署出错");


	@Getter
	@Setter
	public String code;

	@Getter
	@Setter
	public String message;

	private RtnEnum(String code, String message) {
		this.code = code;
		this.message = message;
	}
}
